package com.ruoyi.order.domain;


import com.ruoyi.common.core.annotation.Excel;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 钉钉审批流程信息对象 approval
 * 
 * @author ruoyi
 * @date 2025-07-03
 */
public class Approval
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 审批单号 */
    @Excel(name = "审批单号")
    private String approvalNo;

    /** 审批状态 */
    @Excel(name = "审批状态")
    private String approvalStatus;

    /** 审批结果 */
    @Excel(name = "审批结果")
    private String approvalResult;

    /** 审批时间 */
    @Excel(name = "审批时间")
    private String approvalTime;

    /** 审批内容 */
    @Excel(name = "审批内容")
    private String approvalContent;

    /** 关联业务ID */
    @Excel(name = "关联业务ID")
    private Long businessId;

    /** 审批单据业务类型 */
    @Excel(name = "审批单据业务类型")
    private String businessType;

    /** 审批单据业务类型名称 */
    @Excel(name = "审批单据业务类型名称")
    private String businessName;

    /** 审批流程编码 */
    @Excel(name = "审批流程编码")
    private String processCode;

    /** 审批流程实例ID */
    @Excel(name = "审批流程实例ID")
    private String instanceId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setApprovalNo(String approvalNo) 
    {
        this.approvalNo = approvalNo;
    }

    public String getApprovalNo() 
    {
        return approvalNo;
    }

    public void setApprovalStatus(String approvalStatus) 
    {
        this.approvalStatus = approvalStatus;
    }

    public String getApprovalStatus() 
    {
        return approvalStatus;
    }

    public void setApprovalResult(String approvalResult) 
    {
        this.approvalResult = approvalResult;
    }

    public String getApprovalResult() 
    {
        return approvalResult;
    }

    public void setApprovalTime(String approvalTime) 
    {
        this.approvalTime = approvalTime;
    }

    public String getApprovalTime() 
    {
        return approvalTime;
    }

    public void setApprovalContent(String approvalContent) 
    {
        this.approvalContent = approvalContent;
    }

    public String getApprovalContent() 
    {
        return approvalContent;
    }

    public void setBusinessId(Long businessId) 
    {
        this.businessId = businessId;
    }

    public Long getBusinessId() 
    {
        return businessId;
    }

    public void setBusinessType(String businessType) 
    {
        this.businessType = businessType;
    }

    public String getBusinessType() 
    {
        return businessType;
    }

    public void setBusinessName(String businessName) 
    {
        this.businessName = businessName;
    }

    public String getBusinessName() 
    {
        return businessName;
    }

    public void setProcessCode(String processCode) 
    {
        this.processCode = processCode;
    }

    public String getProcessCode() 
    {
        return processCode;
    }

    public void setInstanceId(String instanceId) 
    {
        this.instanceId = instanceId;
    }

    public String getInstanceId() 
    {
        return instanceId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("approvalNo", getApprovalNo())
            .append("approvalStatus", getApprovalStatus())
            .append("approvalResult", getApprovalResult())
            .append("approvalTime", getApprovalTime())
            .append("approvalContent", getApprovalContent())
            .append("businessId", getBusinessId())
            .append("businessType", getBusinessType())
            .append("businessName", getBusinessName())
            .append("processCode", getProcessCode())
            .append("instanceId", getInstanceId())
            .toString();
    }
}
